export default function resret(obj) {
    obj.num = obj.num ? obj.num : 200
    obj.ok = obj.ok ? obj.ok : "ok"
    obj.pin = obj.pin ? obj.pin : "text/plain;charset=utf-8"
    obj.res.writeHead(obj.num, obj.ok, {
        "content-type": obj.pin
    })
    obj.res.end(obj.text)
   
}